import React,{ Component, PropTypes } from 'react';
import Factory from '../factory';

class AbuildingForm extends React.Component {
  constructor (props) {
    super(props);
    let content = props.content;
    this.state = {
      content:content
    };
  }
  render () {
    return (
      <div>{this.state.content}</div>
    );
  }
}
AbuildingForm.propTypes = {
  content:PropTypes.string
};
AbuildingForm.defaultProps = {
  content:""
};
export default AbuildingForm
let render=(props)=>React.createElement(AbuildingForm, props);
let f = new Factory()
f.set("AbuildingForm",render)